package interceptor;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.ElementType;

import utils.DBConnection;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface InjectConnection {

  String tableName() default "";

  boolean autoCommit() default DBConnection.AutoCommiteOn;

  String encoding() default "UTF-8";
}
